#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QFileDialog>
#include <QString>
#include <QDebug>
#include <iostream>
#include <QMovie>
#include <QLabel>
#include<QDesktopServices>
#include<QUrl>
#include<QMessageBox>
#include<QMediaPlayer>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    QString mp3fileName;
    QString midifileName;
    QString msgfileName;
    QString stafffileName;
    QMovie *m_movie;
    QMovie *m_movie2;
    QMediaPlayer *player;
private slots:
    void on_pushButton_C1_clicked();

    void on_pushButton_b1_clicked();

    void on_pushButton_D1_clicked();

    void on_pushButton_E1_clicked();

    void on_pushButton_F1_clicked();

    void on_pushButton_G1_clicked();

    void on_pushButton_A1_clicked();

    void on_pushButton_B1_clicked();

    void on_pushButton_c1_clicked();

    void on_pushButton_d1_clicked();

    void on_pushButton_e1_clicked();

    void on_pushButton_f1_clicked();

    void on_pushButton_A0_clicked();

    void on_pushButton_B0_clicked();

    void on_pushButton_a0_clicked();

    void on_pushButton_trans_clicked();

    void on_pushButton_C2_clicked();

    void on_pushButton_D2_clicked();

    void on_pushButton_E2_clicked();

    void on_pushButton_F2_clicked();

    void on_pushButton_G2_clicked();

    void on_pushButton_A2_clicked();

    void on_pushButton_B2_clicked();

    void on_pushButton_C3_clicked();

    void on_pushButton_D3_clicked();

    void on_pushButton_E3_clicked();

    void on_pushButton_F3_clicked();

    void on_pushButton_G3_clicked();

    void on_pushButton_A3_clicked();

    void on_pushButton_B3_clicked();

    void on_pushButton_C4_clicked();

    void on_pushButton_D4_clicked();

    void on_pushButton_E4_clicked();

    void on_pushButton_F4_clicked();

    void on_pushButton_G4_clicked();

    void on_pushButton_A4_clicked();

    void on_pushButton_B4_clicked();

    void on_pushButton_C5_clicked();

    void on_pushButton_D5_clicked();

    void on_pushButton_E5_clicked();

    void on_pushButton_F5_clicked();

    void on_pushButton_G5_clicked();

    void on_pushButton_A5_clicked();

    void on_pushButton_B5_clicked();

    void on_pushButton_C6_clicked();

    void on_pushButton_D6_clicked();

    void on_pushButton_E6_clicked();

    void on_pushButton_F6_clicked();

    void on_pushButton_G6_clicked();

    void on_pushButton_A6_clicked();

    void on_pushButton_B6_clicked();

    void on_pushButton_C7_clicked();

    void on_pushButton_D7_clicked();

    void on_pushButton_E7_clicked();

    void on_pushButton_F7_clicked();

    void on_pushButton_G7_clicked();

    void on_pushButton_A7_clicked();

    void on_pushButton_B7_clicked();

    void on_pushButton_C8_clicked();

    void on_pushButton_b2_clicked();

    void on_pushButton_c2_clicked();

    void on_pushButton_d2_clicked();

    void on_pushButton_e2_clicked();

    void on_pushButton_f2_clicked();

    void on_pushButton_b3_clicked();

    void on_pushButton_c3_clicked();

    void on_pushButton_d3_clicked();

    void on_pushButton_e3_clicked();

    void on_pushButton_f3_clicked();

    void on_pushButton_b4_clicked();

    void on_pushButton_c4_clicked();

    void on_pushButton_d4_clicked();

    void on_pushButton_e4_clicked();

    void on_pushButton_f4_clicked();

    void on_pushButton_b5_clicked();

    void on_pushButton_c5_clicked();

    void on_pushButton_d5_clicked();

    void on_pushButton_e5_clicked();

    void on_pushButton_f5_clicked();

    void on_pushButton_b6_clicked();

    void on_pushButton_c6_clicked();

    void on_pushButton_d6_clicked();

    void on_pushButton_e6_clicked();

    void on_pushButton_f6_clicked();

    void on_pushButton_b7_clicked();

    void on_pushButton_c7_clicked();

    void on_pushButton_d7_clicked();

    void on_pushButton_e7_clicked();

    void on_pushButton_f7_clicked();

    void on_pushButton_html_clicked();

    void on_pushButton_choose_clicked();

    void on_pushButton_player_clicked(bool checked);

    void on_pushButton_report_clicked();

private:
    Ui::MainWindow *ui;
};

void finishmessage(QString stafffilename);


#endif // MAINWINDOW_H
